﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Fashion Girls</title> 
    <link href="/media/css/album.css" rel="stylesheet" type="text/css" /> 
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> 
</head> 
<body> 
<div id="main"> 
 
<h2><a href="/?hl={{hl}}" >Albums</a> | Picasa or Flickr | <a href="http://fg.appwill.com/home/#download">Fashion Girls App</a></h2>

<script> 
  $(document).ready(function () {
      $(".example").bind("click", function(e){
	      e.stopPropagation();
	      $("#url").val($(this).html());
	   });
  
	  $(".example2").bind("click", function(e){
	      $("#url").val($(this).prev().attr('href'));
	   });
  });
  
 
function submitURL(myForm){  
    var url = $("#url").val();
    
    if(url.indexOf("http://picasaweb.google.com")!=0 && url.indexOf("http://www.flickr.com")!=0){
        alert(url + "The url is not a legal Picasa Album or Flickr Sets URL");
        return false;
    }
	return true;
}
 
</script> 
 
<p></p><p></p> 
<br><br> 
<form action="/picasa/"  id="myForm" name="myForm"  method="post" onSubmit="return submitURL(this);" > 
<table> 
    <tr> 
        <td><b>Picasa Album or Flickr Sets URL:</b></td> 
        <td><input id="url" type="text" name="url" value="" style="width:400px;"></td> 
    </tr> 
    <tr> 
        <td colspan="2"> 
        <input type="submit" value="Generate Album XML" title="submit"> 
        </td> 
    </tr> 
</table> 
</form> 
 
<br><br><br> 
 
<div class="examplePanel"> 
   <b>Picasa Album URL Sample:</b><br> 
   <a class="example" href="#">http://picasaweb.google.com/yuuchuang/AudreyHepburn</a>&nbsp;（<a href="http://picasaweb.google.com/yuuchuang/AudreyHepburn">View</a>） <br> 
   <a class="example" href="#">http://picasaweb.google.com/yuangongshen/AeCqLH</a>&nbsp;（<a href="http://picasaweb.google.com/yuangongshen/AeCqLH">View</a>）<br> 
</div> 

<div class="examplePanel"> 
   <b>Flickr Sets URL Sample:</b><br> 
   <a class="example" href="#">http://www.flickr.com/photos/dvyang/sets/72157619491833041/</a>&nbsp;（<a href="http://www.flickr.com/photos/dvyang/sets/72157619491833041/">View</a>） <br> 
   <a class="example" href="#">http://www.flickr.com/photos/perdie/sets/72157607003879234/</a>&nbsp;（<a href="http://www.flickr.com/photos/perdie/sets/72157607003879234/">View</a>）<br> 
</div> 
</div> 
 
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-9726605-4");
pageTracker._trackPageview();
} catch(err) {}</script>
</body> 
</html>